package com.tech.pattern.iterator;

import com.sun.corba.se.impl.ior.OldJIDLObjectKeyTemplate;

import java.util.Iterator;

/**
 * @Description:容器接口
 * @Author: zl
 * @Date: 2019/7/12 14:32
 */
interface Aggregate {
    void add(Object object);

    void remove(Object object);

    public Iterator iterator();
}
